﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JinfuyuanProject.Entity
{
    /// <summary>
    /// 
    ///</summary>
    public class Staff
    {

        [Key]
        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
        public int Id { get; set; }

        /// <summary>
        /// 备  注:员工工号
        /// 默认值:
        ///</summary>
        public string Numbers { get; set; }

        /// <summary>
        /// 备  注:员工姓名
        /// 默认值:
        ///</summary>
        public string Name { get; set; }

        /// <summary>
        /// 备  注:电话
        /// 默认值:
        ///</summary>
        public string Phone { get; set; }

        /// <summary>
        /// 备  注:身份证号
        /// 默认值:
        ///</summary>
        public string CardId { get; set; }

        /// <summary>
        /// 备  注:银行卡号
        /// 默认值:
        ///</summary>
        public string BankCard { get; set; }

        /// <summary>
        /// 备  注:角色Id
        /// 默认值:
        ///</summary>
        public int? RoleId { get; set; }

        /// <summary>
        /// 备  注:（状态）是否可用，0：停用，1：可用
        /// 默认值:
        ///</summary>
        public int? State { get; set; }

        /// <summary>
        /// 备  注:头像
        /// 默认值:
        ///</summary>
        public string ImgUrl { get; set; }

        /// <summary>
        /// 备  注:入职时间
        /// 默认值:
        ///</summary>
        public DateTime? OnboardingTime { get; set; }

        /// <summary>
        /// 备  注:登录密码
        /// 默认值:
        ///</summary>
        public string Pwd { get; set; }

        /// <summary>
        /// 备  注:性别（0：男；1：女）
        /// 默认值:
        ///</summary>
        public int? Sex { get; set; }

        /// <summary>
        /// 备  注:年龄
        /// 默认值:
        ///</summary>
        public int? Age { get; set; }

        /// <summary>
        /// 备  注:创建时间
        /// 默认值:
        ///</summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 备  注:逻辑删除:0不删1删
        /// 默认值:
        ///</summary>
        public int? Isdelete { get; set; }


    }

}